ReadCRUDCacheRepo

open class ReadCRUDCacheRepo<ObjectType, IdType>(parentRepo: ReadCRUDRepo<ObjectType, IdType>, kvCache: KVCache<IdType, ObjectType>, idGetter: (ObjectType) -> IdType) : ReadStandardCRUDRepo<ObjectType, IdType>

Functions

contains
Link copied to clipboard
open suspend override fun contains(id: IdType): Boolean
count
Link copied to clipboard
open suspend override fun count(): Long
getById
Link copied to clipboard
open suspend override fun getById(id: IdType): ObjectType?
getByPagination
Link copied to clipboard
open suspend override fun getByPagination(pagination: Pagination): PaginationResult<ObjectType>

Inheritors

CRUDCacheRepo
Link copied to clipboard